package com.hrc.springboot.config;

import com.hrc.springboot.service.HelloService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MyConfig {
    @Bean
    public HelloService helloService02() {
        System.out.println("组件加入完毕！！！");
        return new HelloService();
    }
}
